package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 用户人脸信息实体类
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysUserFace extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 人脸ID */
    private Long faceId;

    /** 用户ID */
    private Long userId;

    /** 人脸图像Base64 */
    private String faceImage;

    /** 人脸特征数据 */
    private String faceFeature;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
